/**
 * 部门查看js
 */
var agreementLook={
	init:function(){
		
		var id = art.dialog.data('lokId');
		
		var key = id + "_Agreement_Key";
		var agreementInfo = eval('(' + localStorage.getItem( key) + ')');
				
		$("input[name='name']").val(agreementInfo.name);
		$("input[name='argDesc']").val(agreementInfo.argDesc);
		$('#agreement').html((agreementInfo.agreementText ==null?'':agreementInfo.agreementText));
		 
	}
}
$(document).ready(function() {
	agreementLook.init();
});